package com.ad.pet.utils;

import com.ad.pet.common.data.utils.ui.ToastUtil;
import com.umeng.socialize.UMShareListener;
import com.umeng.socialize.bean.SHARE_MEDIA;

/**
 * Created by SEELE on 2019/6/4.
 */

public class UMShareLinstener implements UMShareListener {
    @Override
    public void onStart(SHARE_MEDIA share_media) {

    }

    @Override
    public void onResult(SHARE_MEDIA share_media) {

    }

    @Override
    public void onError(SHARE_MEDIA share_media, Throwable throwable) {
        ToastUtil.getToastUtil().showShort(throwable.getMessage());
    }

    @Override
    public void onCancel(SHARE_MEDIA share_media) {

    }
}
